package com.example.serviceB.service.impl;

import com.example.serviceB.dao.AccountMapper;
import com.example.serviceB.req.TransferInReq;
import com.example.serviceB.service.IAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements IAccountService {

    @Autowired
    private AccountMapper accountMapper;

    @Override
    public void transferIn(TransferInReq req) {
        accountMapper.transferIn(req);
    }

    @Override
    public void confirmTransferIn(TransferInReq req) {
        accountMapper.confirmTransferIn(req);
    }

    @Override
    public void cancelTransferIn(TransferInReq req) {
        accountMapper.cancelTransferIn(req);
    }

}
